package com.wms.goods_stock_view.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wms.common.annotation.Excel;
import com.wms.common.core.domain.BaseEntity;

/**
 * VIEW对象 goods_stock_view
 * 
 * @author 熊竹俊
 * @date 2025-01-16
 */
public class GoodsStockView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货物ID */
    @Excel(name = "货物ID")
    private Long goodsId;

    /** 货名 */
    @Excel(name = "货名")
    private String goodsName;

    /** 当前库存 */
    @Excel(name = "当前库存")
    private Long currentStock;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 包装 */
    @Excel(name = "包装")
    private String packaging;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 仓库名 */
    @Excel(name = "仓库名")
    private String storageName;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setCurrentStock(Long currentStock) 
    {
        this.currentStock = currentStock;
    }

    public Long getCurrentStock() 
    {
        return currentStock;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setPackaging(String packaging) 
    {
        this.packaging = packaging;
    }

    public String getPackaging() 
    {
        return packaging;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setStorageName(String storageName) 
    {
        this.storageName = storageName;
    }

    public String getStorageName() 
    {
        return storageName;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("currentStock", getCurrentStock())
            .append("specification", getSpecification())
            .append("packaging", getPackaging())
            .append("price", getPrice())
            .append("storageName", getStorageName())
            .append("supplierName", getSupplierName())
            .toString();
    }
}
